System and method for identifying communication session participants based on traffic patterns

ABSTRACT

A monitoring system monitors traffic flows that are exchanged over a communication network. The system characterizes the flows in terms of their temporal traffic features, and uses this characterization to identify communication devices that participate in the same communication session. By identifying the communication devices that serve as endpoints in the same session, the system establishes correlations between the users of these communication devices. The monitoring system characterizes the flows using traffic features such as flow start time, flow end time, inter-burst time and burst size, and/or statistical properties of such features. The system typically generates compressed-form representations (“signatures”) for the traffic flows based on the temporal traffic features, and finds matching flows by finding similarities between signatures.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 15/084,408, filed on Mar. 29, 2016, entitled “SYSTEM AND METHOD FOR IDENTIFYING COMMUNICATION SESSION PARTICIPANTS BASED ON TRAFFIC PATTERNS,” the contents of which are hereby incorporated by reference in their entirety.

FIELD OF THE DISCLOSURE

The present disclosure relates generally to communication monitoring, and particularly to methods and systems for identifying participants of communication sessions.

BACKGROUND OF THE DISCLOSURE

Various communication analysis techniques analyze and classify communication traffic based on behavioral characteristics rather than content. Such techniques are useful, for example, for analyzing encrypted traffic. For example, Bar Yanai et al. describe a statistical classifier for real-time classification of encrypted data, in “Realtime Classification for Encrypted Traffic,” Experimental Algorithms, Lecture Notes in Computer Science, Volume 6049, May, 2010, which is incorporated herein by reference.

As another example, Zhang and Paxson describe an algorithm for detecting “stepping stones”—intermediary hosts that are used for launching hostile network attacks, in “Detecting Stepping Stones,” Proceedings of the 9^(th) USENIX Security Symposium, August, 2000, which is incorporated herein by reference. The algorithm is based on distinctive characteristics, e.g., packet size and timing, of interactive traffic, and not on connection contents.

SUMMARY OF THE DISCLOSURE

An embodiment that is described herein provides a method including monitoring a plurality of traffic flows exchanged over a communication network. Respective temporal traffic features are determined for the monitored traffic flows. Communication devices that participate in a same communication session are identified, by finding a match between respective temporal traffic features of the traffic flows exchanged by the communication devices.

In some embodiments, determining the temporal traffic features includes generating a respective compressed-form traffic signature for each of the traffic flows, and finding the match includes comparing between traffic signatures of at least some of the traffic flows exchanged by the communication devices. In an embodiment, the temporal traffic features depend on at least one feature type selected from a group of types consisting of start time, end time, inter-burst time, burst size and overall data volume.

In a disclosed embodiment, identifying the communication devices includes detecting the match even though the communication devices communicate via at least one intermediary server. The intermediary server may perform transcoding between the traffic flows of the communication devices. In an embodiment, identifying the communication devices includes selecting a subset of the traffic flows that are associated with a given application type, and searching for the match only among the traffic flows in the subset.

In some embodiments, finding the match includes matching the traffic features between an inbound traffic flow of a first communication device and an outbound traffic flow of a second communication device. In an example embodiment, the method includes reaffirming the match by matching the traffic features between an outbound traffic flow of the first communication device and an inbound traffic flow of the second communication device.

In another embodiment, finding the match includes matching activity periods in a first traffic flow with silence periods in a second traffic flow. In yet another embodiment, identifying the communication devices includes finding multiple matches between the communication devices over multiple communication sessions. In still another embodiment, determining the temporal traffic features and finding the match are performed independently of content of the traffic flows. In some embodiments, at least some of the traffic flows are encrypted.

There is additionally provided, in accordance with an embodiment that is described herein, an apparatus including an interface and a processor. The interface is configured to monitor a plurality of traffic flows exchanged over a communication network. The processor is configured to determine respective temporal traffic features for the monitored traffic flows, and to identify communication devices that participate in a same communication session, by finding a match between the temporal traffic features of the traffic flows exchanged by the communication devices.

The present disclosure will be more fully understood from the following detailed description of the embodiments thereof, taken together with the drawings in which:

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram that schematically illustrates a network monitoring system, in accordance with an embodiment that is described herein; and

FIG. 2 is a flow chart that schematically illustrates a method for associating communication session participants, in accordance with an embodiment that is described herein.

DETAILED DESCRIPTION OF EMBODIMENTS Overview

Embodiments that are described hereinbelow provide improved methods and systems for monitoring communication networks. In some embodiments, a monitoring system monitors traffic flows that are exchanged over a communication network. The system characterizes the flows in terms of their temporal traffic features, and uses this characterization to identify communication devices, e.g., computers or mobile phones, that participate in the same communication session. By identifying the communication devices that serve as endpoints in the same session, the system establishes correlations between the users of these communication devices.

In an embodiment, the monitoring system characterizes the flows using traffic features such as flow start time, flow end time, inter-burst time and burst size, and/or statistical properties of such features. The system typically generates compressed-form representations (“signatures”) for the traffic flows based on the temporal traffic features, and finds matching flows by finding similarities between signatures.

By using compressed-form representations of the flows, the system is able to handle large volumes of traffic flows, either in real-time or off-line. Since the disclosed techniques analyze temporal traffic patterns, usually regardless of the underlying content, they are highly effective in monitoring encrypted traffic flows.

In a typical embodiment, the system regards two devices as suspected of participating in the same session upon matching the outbound traffic of one device with the inbound traffic of the other. The system may increase the confidence level of the match by correlating the opposite-direction flows, i.e., the inbound traffic of the first device and the outbound traffic of the second device. It is also possible to correlate flows of opposite directions, e.g., by correlating activity periods in one direction with silence periods in the opposite direction. The system may also increase the confidence level over time, e.g., by finding several matches between the same pair of devices over multiple sessions.

The embodiments described herein refer mainly to two-party sessions, for the sake of clarity. The disclosed techniques, however, can be used in a similar manner to correlate communication devices participating in multi-party sessions, such as conference calls.

In some embodiments, the system selects a particular application, e.g., Skype, and attempts to match only flows of that application. This mechanism improves the likelihood of success, reduces computational complexity, and also enables the system to focus on traffic features that are known to be effective for the specific application.

Some of the disclosed techniques allow for approximate matching of traffic features, not necessarily exact matching. Approximate matching is important because the network often introduces variations between the temporal patterns of the traffic observed at the two ends of a session. For example, a session is often conducted via an intermediate server that applies transcoding or other processes that affect the temporal traffic features.

In summary, the methods and systems described herein provide highly efficient, scalable and content-independent means for identifying session participants.

System Description

FIG. 1 is a block diagram that schematically illustrates a network monitoring system 20, in accordance with an embodiment that is described herein. System 20 monitors traffic that is exchanged among endpoints 24 over a communication network 28. By analyzing the monitored flows, system 20 identifies pairs of endpoints that participate in the same communication session. Correlating endpoints via the communication sessions they conduct is useful, for example, for linking the users of these endpoints.

Network 28 may comprise, for example, a Wide-Area Network (WAN) such as the Internet, a Local Area Network (LAN), a wireless network such as a cellular network, or any other suitable network or combination of networks. Typically, although not necessarily, network 28 comprises an Internet Protocol (IP) network.

Endpoints 24 may comprise any suitable wireline or wireless communication devices, such as fixed or mobile phones or computers. The terms “endpoints” and “communication devices” are used interchangeably herein. FIG. 1 shows only four endpoints 24A . . . 24D, for the sake of clarity. Real-life networks typically comprises a large number of endpoints. In the present example, endpoints 24A . . . 24D are connected to network 28 using respective links 32A . . . 32D.

Typically, endpoints 24 communicate over network 28 by exchanging packets with one another, often via one or more intermediate servers 34. Servers 34 may comprise, for example, proxies, transcoding servers, or any other suitable server type. The traffic between endpoints also typically traverses network elements such as switches or routers.

When observed over a given link 32, the outbound or inbound traffic flow of a given endpoint 24 appears as a sequence of traffic bursts 36. Each traffic burst may comprise one or more packets. As will be explained below, system 20 finds endpoints 24 that are suspected of participating in the same communication session by finding similarities between the temporal patterns of their traffic flows.

In the present example, system 20 comprises an interface 40 for monitoring traffic flows in network 28, a correlation processor 44 that carries out the methods described herein, and a signature database 48 for storing compressed-form signatures of flows. Interface 40 may comprise, for example, one or more network probes that monitor one or more internal interfaces in network 28.

The system configuration shown in FIG. 1 is an example configuration that is chosen purely for the sake of conceptual clarity. In alternative embodiments, any other suitable system configuration can be used. Certain elements of system 20 can be implemented using hardware, such as using one or more Application-Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs) or other device types. Signature database 48 can be implemented using any suitable memory or storage device. Additionally or alternatively, certain elements of system 20 can be implemented using software, or using a combination of hardware and software elements.

In some embodiments, processor 44 comprises a general-purpose processor, which is programmed in software to carry out the functions described herein. The software may be downloaded to the processor in electronic form, over a network, for example, or it may, alternatively or additionally, be provided and/or stored on non-transitory tangible media, such as magnetic, optical, or electronic memory.

Associating Session Participants Based on Temporal Traffic Features

In some embodiments, processor 44 monitors the traffic flows that are transmitted and received by various endpoints 24 over network 28. Processor 44 attempts to find flows in which the temporal patterns of bursts 36 are similar. Such similarity may indicate that the flows (and therefore the endpoints and their users) belong to the same communication session.

In an embodiment, the system defines a flow as a stream of packets having a common 5-tuple, i.e., having the same source IP address, source port number, destination IP address, destination port number and protocol. In other embodiments, other suitable flow definitions can be used. For example, a flow may be defined as comprising two or more different packet streams or even connections, e.g., a separate voice connection and file-transfer connection between the participants of the same session.

In the present context, the term “communication session” refers to various types of interactions between endpoints, using various types of applications. Communication session may comprise, for example, voice-over-IP, video-over-IP, instant messaging, chat or file transfer. A given session may comprise a combination of multiple such interaction types.

Some sessions may comprise peer-to-peer sessions that are conducted directly between endpoints 24. Other sessions (e.g., Viber, Skype or Whatsapp sessions) may be processed by one or more intermediate servers 34. In some cases, an intermedia server applies transcoding to the traffic, and therefore the endpoints of the same session may use different protocols or applications. Moreover, in many cases the traffic conveyed by the flows is encrypted. In some embodiments, processor 44 finds similarities between flows even though the session traverses one or more intermediate servers 34, and even though the underlying traffic is encrypted.

In some embodiments, processor 44 computes a compressed-form signature for each of the monitored flows. The flow signature specifies one or more temporal features of the flow, such as the flow start time, flow end time, burst size, inter-burst time and/or overall data volume. Other temporal features may comprise statistical properties of temporal features, for example a variance of the packet size, a variance of the inter-packet time, or a maximal, minimal or average value of some temporal feature. Additionally or alternatively, any other suitable type of temporal feature can be used. Processor 44 typically stores the flow signatures in database 48. When a session comprises multiple flows (e.g., both voice and file transfer), processor 44 may monitor any or all of these flows.

Processor 48 searches over database 48, and attempts to find flows having similar signatures. A pair of flows having similar traffic features may indicate that the flows belong to the same session, and therefore that the users of the corresponding endpoints may be linked or affiliated in some way.

In practice, a one-time match between two flows may not always provide sufficient confidence that the endpoints are indeed linked. Therefore, in some embodiments processor 48 looks for multiple matches, i.e., multiple sessions in which the same pair of endpoints is suspected of serving as endpoints.

Processor 48 may take various actions upon identifying a pair of endpoints that are regarded as endpoints to the same session. The processor may output the association between endpoints to a user, trigger an alert, transfer the association to another system for further processing, or take any other suitable action.

Typically, when comparing signatures, processor 44 uses a metric that permits approximate matching of traffic features between flows. By allowing approximate matching, processor 44 is able to match flows even when the traffic is processed and modified by intermediate servers or by the network in general. Additionally or alternatively, processor 44 may assign ranks to the matches between signatures, or to the correlations between endpoints, which quantify the quality, strength or confidence of the match.

Consider, for example, an implementation in which the flow signatures specify the flow time span (start time and end time), the overall traffic volume, and the mean and variance of the inter-burst time. In an embodiment, processor 44 regards two flows as matching if their above-listed traffic features differ by no more than a certain threshold, e.g., 10%. In some embodiments, the processor may define different tolerable variations for different traffic features.

In some embodiments, processor 44 looks for similarities between the signatures of opposite-direction flows, i.e., between the signature of the outbound traffic of one device and the signature of the inbound traffic of another device. Processor 44 may increase the confidence level of such a match by also correlating the opposite-direction flows, i.e., the inbound traffic of the first device and the outbound traffic of the second device.

Additionally or alternatively, processor 44 may correlate flows of opposite directions, e.g., two outbound flows or two inbound flows. For example, processor 44 may find two outbound flows in which activity periods in one flow are highly correlative with silence periods in the other flow. This sort of correlation may also indicate that the two flows belong to the same session.

In some embodiments, processor 44 first chooses a certain application, and narrows down the matching process to flows of that application. It is often to identify and select flows of a given application without having to decode the actual content being transferred. For example, flows of real-time video and voice applications often have a similar burst rate, similar burst size, similar activity duty cycle, or any other suitable similarity. As another example, flows of a file transfer application may have a similar burst size.

Flows of real-time chat applications are often similar to real-time video or voice, but with smaller traffic volume. Chat applications are also often characterized by notifications that indicate that a message was received by the opposite endpoint, or that the opposite user is typing. Further alternatively, processor 44 may classify flows to applications in any other suitable way.

Having focused on the flows of a given application, processor 44 compares signatures within these flows. Such a technique improves the likelihood of success, and also improves the capability to process large numbers of flows. Moreover, processor 44 is able to compare traffic features that are known to be effective for the specific application. In some embodiments, the definition of the signature depends on the application type. In other words, processor 44 may compare flows of one application using a certain signature, and flows of another application using a different signature.

FIG. 2 is a flow chart that schematically illustrates a method for associating communication session participants, in accordance with an embodiment that is described herein. The method begins with system 20 monitoring traffic flows in network 28 using interface 40, at a monitoring step 50. Processor 44 of system 20 generates compressed-form signatures for the monitored flows, at a signature generation step 54.

Processor 44 compares the signature of the outgoing traffic of one communication device 24 with the signature of the outgoing traffic of another communication device 24, at a comparison step 58. If the two signatures are found to match, as checked at a checking step 62, processor 44 associates the two endpoints, at an association step 66. In some embodiments, processor 44 first compares flow signatures and, upon finding a match, reverts to a more exact and in-depth comparison of the flows on a per-packet basis.

It will thus be appreciated that the embodiments described above are cited by way of example, and that the present disclosure is not limited to what has been particularly shown and described hereinabove. Rather, the scope of the present disclosure includes both combinations and sub-combinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art. Documents incorporated by reference in the present patent application are to be considered an integral part of the application except that to the extent any terms are defined in these incorporated documents in a manner that conflicts with the definitions made explicitly or implicitly in the present specification, only the definitions in the present specification should be considered. 

1. A method for identifying communication devices that serve as endpoints in a communication session, the method comprising: monitoring a plurality of traffic flows exchanged over a communication network; generating a respective compressed-form signature for each of the traffic flows; and identifying communication devices that participate in a same communication session, by comparing signatures of at least some of the traffic flows exchanged by the communication devices, and matching the signatures between an inbound traffic flow of a first communication device and an outbound traffic flow of a second communication device.
 2. The method according to claim 1, further comprising determining respective temporal traffic features for each of the traffic flows.
 3. The method according to claim 2, further comprising finding a match among the respective temporal traffic features.
 4. The method according to claim 2, wherein the temporal traffic features depend on at least one feature type selected from a group of types consisting of start time, end time, inter-burst time, burst size and overall data volume.
 5. The method according to claim 1, wherein identifying the communication devices comprises matching the signatures even though the communication devices communicate via at least one intermediary server.
 6. The method according to claim 5, wherein the intermediary server performs transcoding among the traffic flows of the communication devices.
 7. The method according to claim 1, wherein identifying the communication devices comprises selecting a subset of the traffic flows that are associated with a given application type and comparing only among the traffic flows in the subset.
 8. The method according to claim 1, further comprising reaffirming by matching the signatures between an outbound traffic flow of the first communication device and an inbound traffic flow of the second communication device.
 9. The method according to claim 1, further comprising matching activity periods in a first traffic flow with silence periods in a second traffic flow.
 10. The method according to claim 1, wherein identifying the communication devices comprises matching signatures among the communication devices over multiple communication sessions.
 11. The method according to claim 1, wherein generating the compressed-form signatures and identifying the communication devices are performed independently of content of the traffic flows.
 12. The method according to claim 1, wherein at least some of the traffic flows are encrypted.
 13. Apparatus for identifying communication devices that serve as endpoints in a communication session, the apparatus comprising: an interface, which is configured to monitor a plurality of traffic flows exchanged over a communication network; and a processor, which is configured to generate a respective compressed-form signature for each of the traffic flows, and to identify communication devices that participate in a same communication session, by comparing signatures of at least some of the traffic flows exchanged by the communication devices, and matching the signatures between an inbound traffic flow of a first communication device and an outbound traffic flow of a second communication device.
 14. The apparatus according to claim 13, wherein the processor is configured to determine respective temporal traffic features for each of the traffic flows.
 15. The apparatus according to claim 14, wherein the processor is configured to finding a match among the respective temporal traffic features.
 16. The apparatus according to claim 14, wherein the processor is configured to identify the communication devices by matching the signatures even though the communication devices communicate via at least one intermediary server.
 17. The apparatus according to claim 16, wherein the intermediary server performs transcoding among the traffic flows of the communication devices.
 18. The apparatus according to claim 13, wherein the processor is configured to select a subset of the traffic flows that are associated with a given application type and compare only among the traffic flows in the subset.
 19. The apparatus according to claim 13, wherein the processor is configured to reaffirm by matching the signatures between an outbound traffic flow of the first communication device and an inbound traffic flow of the second communication device.
 20. The apparatus according to claim 13, wherein the processor is configured to match signatures among the communication devices over multiple communication sessions. 